package cn.iocoder.yudao.module.api.member.eid.vo;

import cn.iocoder.yudao.framework.desensitize.core.slider.annotation.IdCardDesensitize;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "实名信息 VO")
@Data
public class EidVO {

    @Schema(description = "唯一编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "26623")
    private Long id;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "14660")
    private Long userId;

    @Schema(description = "状态：0-待审核、1-已通过、2-被驳回", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;

    @Schema(description = "真实姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    private String realName;

    @Schema(description = "身份证号码", requiredMode = Schema.RequiredMode.REQUIRED)
    @IdCardDesensitize
    private String idcardNo;

    @Schema(description = "身份证正面图片地址", example = "https://example.local")
    private String idcardFrontUrl;

    @Schema(description = "身份证反面图片地址", example = "https://example.local")
    private String idcardBackUrl;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "省市区县", example = "贵州省贵阳市南明区")
    private String address;

    @Schema(description = "性别：0-保密、1-男、2-女", example = "男")
    private String sex;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

}
